export default {
	state: {
		list:[
			{
				name: "Leron",
				phone: "15615001223",
				city: "江苏省-苏州市-吴中区",
				detail: "蓝光和雍锦园",
				isDefault: true
			},
			{
				name: "Leron",
				phone: "15615001223",
				city: "北京市-朝阳区-昌平",
				detail: "碧桂园",
				isDefault: false
			}
		]
	},
	getters:{
		
	},
	mutations: {
		addAddress(state,address) {
			state.list.push(address)
		}
	},
	actions: {
		addAddressFn({commit},address) {
			commit('addAddress',address)
		}
	}
}